From 19c5b37d9de6912b98e7c75b3a4bc58d600b0da1 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 31 May 2013 12:59:46 +0200 Subject: [PATCH] GtkHeaderBar: Fix buildable function names It's a GtkHeaderBar, not GtkHeader. https://bugzilla.gnome.org/show_bug.cgi?id=701346 --- gtk/gtkheaderbar.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c index d08fbc6114..63a280b5fc 100644 --- a/gtk/gtkheaderbar.c +++ b/gtk/gtkheaderbar.c @@ -86,11 +86,11 @@ enum { CHILD_PROP_POSITION }; -static void gtk_header_buildable_init (GtkBuildableIface *iface); +static void gtk_header_bar_buildable_init (GtkBuildableIface *iface); G_DEFINE_TYPE_WITH_CODE (GtkHeaderBar, gtk_header_bar, GTK_TYPE_CONTAINER, G_IMPLEMENT_INTERFACE (GTK_TYPE_BUILDABLE, - gtk_header_buildable_init)); + gtk_header_bar_buildable_init)); static void boldify_label (GtkWidget *label) @@ -1357,10 +1357,10 @@ gtk_header_bar_class_init (GtkHeaderBarClass *class) } static void -gtk_header_buildable_add_child (GtkBuildable *buildable, - GtkBuilder *builder, - GObject *child, - const gchar *type) +gtk_header_bar_buildable_add_child (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *type) { if (type && strcmp (type, "title") == 0) gtk_header_bar_set_custom_title (GTK_HEADER_BAR (buildable), GTK_WIDGET (child)); @@ -1371,9 +1371,9 @@ gtk_header_buildable_add_child (GtkBuildable *buildable, } static void -gtk_header_buildable_init (GtkBuildableIface *iface) +gtk_header_bar_buildable_init (GtkBuildableIface *iface) { - iface->add_child = gtk_header_buildable_add_child; + iface->add_child = gtk_header_bar_buildable_add_child; } /** -- 2.30.2